package com.jmxcfc.blfsc.ninefour.service;

import com.alibaba.fastjson.JSONObject;
import com.jmxcfc.blfsc.common.common.IOutboundService;
import com.jmxcfc.blfsc.common.common.request.BaseRequest;
import com.jmxcfc.blfsc.common.common.response.BaseResponse;
import com.jmxcfc.blfsc.common.sms.VoiceRequest;
import com.jmxcfc.blfsc.common.sms.extend.VoiceExtend;
import org.springframework.http.ResponseEntity;

/**
 * <p>
 * 语音业务主表 服务类
 * 94语音的AI批量任务导入号码接口,接口文档地址
 https://94ai.yuque.com/staff-kqoz0c/xed39g/vifnf1?#GAyz6
 * </p>
 * 泛型分别对应:
 * JSONObject:BaseResponse响应体 T
 * VoiceRequest<VoiceExtend>:BaseRequest请求体 B
 * ResponseEntity<String>:BaseContext扩展体 E
 */
public interface IVoiceRequestService extends IOutboundService<JSONObject,VoiceRequest<VoiceExtend>, ResponseEntity<String>> {

    BaseResponse<JSONObject> sendRequest(BaseRequest<VoiceRequest<VoiceExtend>> requestMessage);

}
